﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<CourseSystem.Core.Entities.CourseSettingInfo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	导航设置
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<% Html.RenderPartial("AdminTopUc", "导航设置"); %>

    <% using (Html.BeginForm("Guide", "AdminSupport", new { ran = ViewData["ranStr"] }, FormMethod.Post))
       {%>
        
        <fieldset>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.CourseGuideId)%>
            </div>
            <div class="editor-field">
                <%: Html.TextAreaFor(model=>model.CourseGuideInfo.DetailContent, new { @class = "editArea" })%>
                <%: Html.ValidationMessageFor(model => model.CourseGuideInfo.DetailContent)%>
            </div>
            
            <p>
                <input type="submit" value="保存" />
            </p>
        </fieldset>

    <% } %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
    <script type="text/javascript">
        $(function () {
            bindTextAreaEditor('CourseGuideInfo_DetailContent', '<%=ViewData["ranStr"] %>');
        });
    </script>
</asp:Content>

